puzzle over

verbs

try to solve
is a type of (narrower)
use or exercise the mind or one's power of reason in order to make inferences, decisions, or arrive at a solution or judgments
"I've been thinking all day and getting nowhere"